<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}
    <div class="subnav">
        <a href="">首页</a> &gt; <a href="">客户管理</a> &gt; 登陆记录
    </div>
    <div class="main-inner">
        <div class="x-body">
            <div class="tablefilter">
                <div class="left margin-l10">
                    <select name="status">
                        <option value="0">全部</option>
                        <option value="-1">账号</option>
                        <option value="1">IP</option></select>
                </div>
                <div class="tableFilterInput">
                    <em>开始时间</em><input type="text" class="datetimepicker8">
                </div>
                <div class="tableFilterInput">
                    <em>结束时间</em><input type="text" class="datetimepicker8">
                </div>
                <div class="tableButton">
                    <input type="submit" name="search" class="layui-btn" value="查询">
                </div>
            </div>

            <table class="layui-table">
                <thead>
                    <tr>
                        <th>用户</th>
                        <th>登陆ip</th>
                        <th>登陆地址</th>
                        <th>登陆时间</th>
                    </tr>
                </thead>
                <tbody id="datalist">
                    {loop $list as $row}
                    <tr>
                        <td>{$row['username']}</td>
                        <td>{$row['ip']}</td>
                        <td>{$row['address']}</td>
                        <td>{date('Y-m-d H:i:s',$row['time'])}</td>
                    </tr>
                    {/loop}
                </tbody>
            </table>
            <div class="layui-clear">
                <div id="pages" class="layui-laypage right">{$multi}</div>
            </div>
        </div>
    </div>
<script type="text/javascript" src="static/js/datetime.js"></script>
{template index/footer}
